<?php

namespace app\common\model\Subject;

use think\Model;

// 评价模型
class Comment extends Model
{
    protected $name = "subject_comment";

    protected $autoWriteTimestamp = true;
 
    protected $createTime = 'createtime';
 
    protected $updateTime = false;
     // 关联查询（根据业务需求）
     public function business()
     {
         return $this->belongsTo('app\common\model\Business\Business', 'busid', 'id', [], 'LEFT')->setEagerlyType(0);
     }
}
